package org.dromara.wms.domain;

  import com.alibaba.excel.annotation.ExcelProperty;
  import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import jakarta.validation.constraints.*;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

  import java.io.Serial;
  import java.io.Serializable;
  import java.util.Date;

/**
 * 生产任务产品工序对象 wms_task_process
 *
 * @author wenrui Su
 * @date 2024-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wms_task_process")
public class WmsTaskProcess implements Serializable {

@Serial
private static final long serialVersionUID=1L;


  @ExcelProperty(value = "任务id")
  @NotNull(message = "任务id不能为空", groups = { AddGroup.class, EditGroup.class })
  private Long taskId;

  @ExcelProperty(value = "工序id")
  @NotNull(message = "工序id不能为空", groups = { AddGroup.class, EditGroup.class })
  private Long processId;

  @ExcelProperty(value = "生产状态")
  @NotBlank(message = "生产状态不能为空", groups = { AddGroup.class, EditGroup.class })
  private String status;

  @ExcelProperty(value = "操作人")
  @NotNull(message = "操作人不能为空", groups = { AddGroup.class, EditGroup.class })
  private Long operId;

  @ExcelProperty(value = "更新时间")
  @NotNull(message = "更新时间不能为空", groups = { AddGroup.class, EditGroup.class })
  private Date operTime;
}
